From: Mohamed Abdulla Date: Wed, 25 Mar 2026 18:42:33 +0000 (+0300) Subject: appDisplay: Go to item page for items dropped on page indicators X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~10^2^2~61 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8c1dd07b9db044cfe967ccc43db143d96da42b16;p=gnome-shell.git appDisplay: Go to item page for items dropped on page indicators The page could be full so the item is dropped on the page after it instead. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 0769ef65b..105796dc2 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1007,7 +1007,8 @@ var BaseAppView = GObject.registerClass({ const position = page < nPages ? -1 : 0; this._moveItem(source, page, position); - this.goToPage(page); + const realPage = this._grid.getItemPage(source); // could be the next page, if the requested one was full + this.goToPage(realPage); } else if (this._delayedMoveData) { // Dropped before the icon was moved const {page, position} = this._delayedMoveData;